﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PwdModify.aspx.cs" Inherits="UserBackGround_CheckInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../Css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            height: 30px;
            width: 237px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center">
        <br />
    <table border="0" cellspacing="0">
                <tr>
                    <td style=" height: 30px; text-align: right">
                       旧 密 码:</td>
                    <td style="color: red;text-align: left" class="style1">
                        <asp:TextBox ID="oldpwd" runat="server" TextMode="Password" Width="120px"></asp:TextBox>
                        *
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="oldpwd"
                            Display="Dynamic" ErrorMessage="密码不能为空" ValidationGroup="v1"></asp:RequiredFieldValidator>&nbsp;
                        </td>
                </tr>
                <tr>
                    <td style=" height: 30px; text-align: right">
                       新 密 码:</td>
                    <td style="color: red;text-align: left" class="style1">
                        <asp:TextBox ID="password" runat="server" TextMode="Password" Width="120px"></asp:TextBox>
                        *
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="password"
                            Display="Dynamic" ErrorMessage="密码不能为空" ValidationGroup="v1"></asp:RequiredFieldValidator>&nbsp;
                        </td>
                </tr>
                <tr>
                    <td style="height: 30px; text-align: right">
                        &nbsp; &nbsp; &nbsp;
                        确认新密码:</td>
                    <td style="color: red;text-align:left" class="style1">
                        <asp:TextBox ID="TB3" runat="server" TextMode="Password" Width="120px"></asp:TextBox>
                        *
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TB3"
                            Display="Dynamic" ErrorMessage="确认密码不能为空" ValidationGroup="v1"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="password"
                            ControlToValidate="TB3" Display="Dynamic" ErrorMessage="确认密码与新密码不一致" ValidationGroup="v1"></asp:CompareValidator></td>
                </tr>
                <tr>
                <td></td>
                    <td style="text-align: center" class="style1">
                        <asp:Button ID="mdfy" runat="server" Text="修改" ValidationGroup="v1" OnClick="mdfy_Click" /></td>
                </tr>
            </table>
            <br />
            <br />
    </div>
    </form>
</body>
</html>
